<template>
    <header class="w_header" :style="heightobj">{{title}}</header>
</template>

<script>
export default {
  name: 'w_header',
  data () {
    return {  
        heightobj:{
          'height':this.height,
          'line-height':this.height
      },
    }
  },
  props:{
    title:"",
    height:""
  },
  computed:{

  },
  methods:{
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.w_header{
    padding: 0 20px;
    background-color: #b3c0d1;
    color: #333;
    line-height:60px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 5px;
}
</style>
